package com.supermarket.api.bean.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("用户登录数据")
@Data
public class LoginRes extends TokenData{

    @ApiModelProperty(value = "用户ID",dataType = "Long")
    private Long id;

    @ApiModelProperty(value = "用户名",dataType = "String")
    private String userName;

    @ApiModelProperty(value = "头像",dataType = "String")
    private String avatar;

    @ApiModelProperty(value = "个性签名",dataType = "String")
    private String sign;

    @ApiModelProperty(value = "等级",dataType = "Integer")
    private Integer level;

}
